<form class="pagerForm" onsubmit="return navTabSearch(this);" method="post">
        <#include "../include_page/parameters.html"/>
</form>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a href="sysRole/add.html" target="navTab" rel="sysRole/add"><i class="icon-plus-sign-alt icon-large"></i> <@t.page 'role.add'/></a></li>
            <li><a href="sysRole/add.html?id={sid}" target="navTab" rel="sysRole/edit"><i class="icon-edit icon-large"></i> <@t.page 'role.edit'/></a></li>
            <li><a href="sysRole/delete.do?id={sid}&_csrf=<@_csrfToken admin=true/>" title="<@t.page 'confirm.delete'/>" target="ajaxTodo"><i class="icon-trash icon-large"></i> <@t.page 'button.delete'/></a></li>
        </ul>
    </div>
<@_sysRoleList pageIndex=pageNum count=numPerPage>
    <table class="list" width="100%" layoutH="57">
        <thead>
            <tr>
                <th width="30"><@t.page 'id'/></th>
                <th><@t.page 'name'/></th>
                <th><@t.page 'module.own_all_right'/></th>
                <th><@t.page 'module.show_all_module'/></th>
            </tr>
        </thead>
        <tbody>
            <#list page.list as a>
            <tr target="sid" rel="${a.id}">
                <td>${a.id!}</td>
                <td>${(a.name)!}</td>
                <td>${a.ownsAllRight?then(t.pageMessage('yes'),'')}</td>
                <td>${a.showAllModule?then(t.pageMessage('yes'),'')}</td>
            </tr>
            </#list>
        </tbody>
    </table>
    <#include "../include_page/page.html"/>
</div>
</@_sysRoleList>